name: breakfast_flow
goal: Make breakfast
steps:
  - goal: Make coffee
    plugins:
      - MakeCoffeePlugin
    requires:
      - coffee_bean
    provides:
      - coffee

  - goal: Select coffee been
    plugins:
      - CoffeeRecommendationPlugin
    provides:
      - coffee_bean
    completionType: AtLeastOnce

  - goal: Recipe
    plugins:
      - WebSearchPlugin
      - CalorieCalculatorPlugin
      - HealthCheckPlugin
    provides:
      - ingredients
    completionType: AtLeastOnce
    transitionMessage: Do you want to add one more recipe?

  - goal: Cook
    plugins:
      - CookPlugin
      - WebSearchPlugin
    requires:
      - coffee
      - ingredients
    provides:
      - breakfast

  - flowName: lunch_flow
    completionType: Optional
    startingMessage: Would you like to prepare the lunch as well?

provides:
  - breakfast
